#pragma once
#ifndef __RENDERMGR_H__
#define __RENDERMGR_H__

#include "Utility.h"

#include "../util/PreDeclare.h"
#include "../util/D3DCommon.h"

namespace WindGE
{
	class WIND_CORE_API RenderMgr
	{
	public:
		RenderMgr();
		virtual ~RenderMgr();

		bool init(RenderDevicePtr renderDevice);
		void resize(float width, float height);
		void update();
		void draw();

	protected:
		virtual bool on_init();
		virtual void on_resize(float width, float height);
		virtual void on_update();
		virtual void on_draw();

	protected:
		RenderDevicePtr render_device_;
	};
}

#endif // !__RENDERMGR_H__

